import webbrowser

#python -u "d:\text\novel\yuri\YuriAnimeLinks.py"

f = open("D:\\text\\novel\yuri\\翅膀動畫盤點.csv","r",encoding="utf-8")
animes = f.readlines()
f.close()
animes = animes[3:]
num = 0
while num < len(animes):
    if num % 10 == 0:
        print("continue or not? y/n")
        check = str(input())
        if check == "n":
            exit(0)
    print(animes[num][7:][:animes[num][7:].find(",")-1])
    webbrowser.open_new("http://miobt.com/search.php?keyword="+animes[num][7:][:animes[num][7:].find(",")-1])
    num += 1